/**
 * KafkaTopicStateDto.java
 */
package com.mht2017.common.dto;

/**
 * <pre>
 * path: /brokers/topics/<topic>/partitions/<partition>/state
 * {"controller_epoch":20,"leader":0,"version":1,"leader_epoch":0,"isr":[0]}
 * </pre>
 *
 * @author yutong.xiao
 * @date 2017年5月8日 下午2:24:44
 */
public class KafkaTopicStateDto {

	private long controller_epoch;
	private int leader;
	private long version;
	private long leader_epoch;

	public long getController_epoch() {
		return controller_epoch;
	}

	public void setController_epoch(long controller_epoch) {
		this.controller_epoch = controller_epoch;
	}

	public int getLeader() {
		return leader;
	}

	public void setLeader(int leader) {
		this.leader = leader;
	}

	public long getVersion() {
		return version;
	}

	public void setVersion(long version) {
		this.version = version;
	}

	public long getLeader_epoch() {
		return leader_epoch;
	}

	public void setLeader_epoch(long leader_epoch) {
		this.leader_epoch = leader_epoch;
	}
}
